package com.ygqh.baby.mapper;

import com.ygqh.baby.po.YgProductSecondDetail;
import com.ygqh.baby.po.YgProductSecondDetailExample;
import com.ygqh.baby.ao.QueryInfo;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface YgProductSecondDetailMapper {
	int countByExample(YgProductSecondDetailExample example);

	int deleteByExample(YgProductSecondDetailExample example);

	int deleteByPrimaryKey(Long id);

	int insert(YgProductSecondDetail record);

	int insertSelective(YgProductSecondDetail record);

	List<YgProductSecondDetail> selectByExample(YgProductSecondDetailExample example);

	YgProductSecondDetail selectByPrimaryKey(Long id);

	int updateByExampleSelective(@Param("record") YgProductSecondDetail record, @Param("example") YgProductSecondDetailExample example);

	int updateByExample(@Param("record") YgProductSecondDetail record, @Param("example") YgProductSecondDetailExample example);

	int updateByPrimaryKeySelective(YgProductSecondDetail record);

	int updateByPrimaryKey(YgProductSecondDetail record);

	int countSuper(@Param("q") String q);

	List<YgProductSecondDetail> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param("q") String q);

	int insertBatch(@Param("list") List<YgProductSecondDetail> insertList);

	int updateBatch(@Param("list") List<YgProductSecondDetail> updateList);

}
